package com.foreverwin.mes.lims.mapper;

import com.foreverwin.mes.lims.model.InspectProject;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Levy
 * @since 2020-02-19
 */
@Repository
public interface InspectProjectMapper extends BaseMapper<InspectProject> {

    /**
     * 修改当前版本的项目
     * @param site
     * @param projectNo
     * @param modifiedDateTime
     * @return
     */
    public int updateCurrentRevision(@Param("site") String site,
                                     @Param("projectNo") String projectNo,
                                     @Param("modifiedDateTime") Date modifiedDateTime);
}